﻿namespace CTP.CRM.Repository.Employee.ValueObjects
{

    /// <summary>
    /// 员工信息（包含组织，岗位，用户信息）
    /// </summary>
    public class EmployeeValueObject
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? UserId { get; set; }

        /// <summary>
        /// 员工ID
        /// </summary>
        public int EmployeeId { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        public string? EmployeeCode { get; set; }

        /// <summary>
        /// 员工名称
        /// </summary>
        public string? EmployeeName { get; set; }

        /// <summary>
        /// 员工英文名
        /// </summary>
        public string? EnName { get; set; }

        /// <summary>
        /// 岗位名称Id
        /// </summary>
        public int? PositionId { get; set; }

        /// <summary>
        /// 岗位名称
        /// </summary>
        public string? PositionName { get; set; }

        /// <summary>
        /// 组织名称Id
        /// </summary>
        public int? OrganizationId { get; set; }

        /// <summary>
        /// 组织名称
        /// </summary>
        public string? OrganizationName { get; set; }

        /// <summary>
        /// 组织类型
        /// </summary>
        public int OrganizationType { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string? CompanyName { get; set; }
    }
}